package com.ffxnh.bean;

/**
 * 汽车抽象类
 *
 * @author zhaopeng
 * @since 1.0.0
 * @date 2025/02/09
 */
public abstract class Car {
    protected String name;

    public abstract void display();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
